Scheduling API Data Sync from Ivanti Neurons for Discovery to Ivanti Neurons for ITSM
Administrators can schedule data synchronization from Neurons for Discovery to Neurons for ITSM.
By default, Neurons for Discovery synchronizes with Neurons for ITSM using the Azure-service, bus-based connectors. This API sync feature enables customized scheduling in the API-based connectors.
Preparing the Ivanti Neurons Environments
When you enable the global constant, Neurons disables the existing connectors between Neurons for Discovery and Neurons for ITSM.
To prevent performance degradation:
Finding the Last Data Scan Date and Time
You can find the latest data scan date in the default Neurons for Discovery connectors.
1.Open Neurons for Discovery; click the icon, and select Connectors from the dropdown list.
2.In the list of connectors, filter for Device.
3.Take note of the date and time in the Last Run column.
4.Manually disable the Neurons for Discovery bus-based connector(s).
When you disable the global constant EnableNeuronsSyncByAPI, you must manually reset the Neurons for Discovery connectors to True.
Updating the Last Data Change Time
Avoid pulling duplicate data that could slow system performance.
1.From the Administrator menu, select More and search for the Integration workspace.
2.Select Name > Filters > and type Device to filter the connection list.
3.Select the Device connector.
4.Enter the last data scan date and time next to Last Data Change Time.
5.Click Save.
Setting up the API Sync
Discovery data for devices and invoices are managed by separate connectors: Ivanti Neurons Connector - Device and Ivanti Neurons Connector - Invoice. Repeat this process with each connector.
1.After enabling the global constant, set the connector's schedule.
2.From the Configuration console, click the icon.
3.Go to My Workspace > Data Import Connections.
4.Find the Ivanti Neurons Connector - Invoice and Ivanti Neurons Connector - Device connectors.
When you enable the EnableNeuronSyncByAPI global constant, Neurons for ITSM updates the connectors with the Run Now option.
5.Click Run Now to perform a sync with the preset connector configurations.
1. From the Data Import Connections workspace, select the name of the connector you wish to configure to display the Settings page.
For more information on the use and configuration of filters, see Import Discovery Data from Ivanti Neurons and Data Import Connections
2.Enter the appropriate details for each tab in the connector and click Next until you reach the Schedule Settings tab.
3.For more information on configuring connectors, refer to Data Import Connections and Import Discovery Data from Ivanti Neurons.
4.Select the schedule you want to use.
5.If you need to set up a new schedule, you can find help and instructions in the Administering and Customizing Neurons for ITSM Using the Configuration Console help topic.
6.Use the LastHardwareScanDate field in the Schedule Settings tab to set the date from which the scan will pull. This field is updated automatically after each sync and creates a baseline date from which to pull future Neurons Discovery syncs.
Verify that the batch size is set at 10 and the max size is set at 500. Do not change the max size unless it is absolutely necessary; using a max size greater than 500 will degrade system performance.
7.Save and exit to the connector workspace.
The connector now has three additional actions available: Preview, Publish and Run, and Publish and Test Run.
The Data Import Connections help document contains more detailed information about the connector options.
•Preview: Shows a few sets of records from Neurons for Discovery and provides the total count of devices and invoices present in Neurons for Discovery.
If the imported data are greater than 20 MB, the preview will fail.
•Publish and Run: Saves all changes to the CMDB and triggers the sync.
•Publish and Test Run: Triggers the sync, but does not insert changes into the CMDB.
To verify you have set up the schedule successfully, see the steps outlined in Import Discovery Data from Ivanti Neurons.
As a part of the device sync, software licensing information also will be imported for sync.
Related topics:
Import Discovery Data from Ivanti Neurons
Ivanti Neurons for ITSM and Neurons Integration - Best Practices